package pkg.networking;

import pkg.*;

@SuppressWarnings("serial")
public class GameNetworkTest extends Game{

	NetworkComponent component;
	public GameNetworkTest(boolean host)
	{
		//super();
		Map map = new Map();
		map.createMap(10, 10);
		
		component = new NetworkComponent(host);
		components.addComponent(component);
		components.addComponent(new Map());
		components.initialize();

	}
	
	public static void main(String[] args)
	{
		GameNetworkTest test = new GameNetworkTest(true);
		test.setVisible(true);
		while(test.isVisible())
			test.render();
	}
}
